package org.edu.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author: 陈炜凡
 * @Description: TODO
 * @DateTime: 2021/7/31 9:03
 */
@Data
@TableName("user")
@Accessors(chain = false)
@EqualsAndHashCode(callSuper = false)
public class UserEntity {
    @ApiModelProperty(value = "主键")
    @TableField(value = "id")
    private Integer uid;

    @ApiModelProperty(value = "id")
    @TableField(value = "USER_ID")
    private String userId;

    @ApiModelProperty(value = "用户真实姓名")
    @TableField(value = "USER_NAME")
    private String userName;

    @ApiModelProperty(value = "用户姓名索引")
    @TableField(value = "USER_NAME_INDEX")
    private String userNameIndex;

    @ApiModelProperty(value = "BYNAME")
    @TableField(value = "BYNAME")
    private String BYNAME;

    @ApiModelProperty(value = "使用USB KEY登录")
    @TableField(value = "USEING_KEY")
    private String useingKey;

    @ApiModelProperty(value = "使用指纹验证")
    @TableField(value = "USING_FINGER")
    private String userFinger;

    @ApiModelProperty(value = "用户密码")
    @TableField(value = "PASSWORD")
    private String password;

    @ApiModelProperty(value = "USEING_KEY")
    @TableField(value = "KEY_SN")
    private String keySn;

    @ApiModelProperty(value = "USEING_KEY")
    @TableField(value = "SECURE_KEY_SN")
    private String secureKeySn;

    @ApiModelProperty(value = "角色编号")
    @TableField(value = "USER_PRIV")
    private Integer userPriv;

    @ApiModelProperty(value = "角色排序号")
    @TableField(value = "USER_PRIV_NO")
    private Integer userPrivNo;

    @ApiModelProperty(value = "USER_PRIV_NAME")
    @TableField(value = "USER_PRIV_NAME")
    private String userPrivName;

    @ApiModelProperty(value = "管理范围")
    @TableField(value = "POST_PRIV")
    private String postPriv;

    @ApiModelProperty(value = "管理范围指定部门")
    @TableField(value = "POST_DEPT")
    private String postDept;

    @ApiModelProperty(value = "部门ID")
    @TableField(value = "DEPT_ID")
    private String deptId;

    @ApiModelProperty(value = "辅助部门")
    @TableField(value = "DEPT_ID_OTHER")
    private String deptIdOther;

    @ApiModelProperty(value = "性别")
    @TableField(value = "SEX")
    private String sex;

    @ApiModelProperty(value = "生日")
    @TableField(value = "BIRTHDAY")
    private String birthday;

    @ApiModelProperty(value = "是否农历(1-是,0-否)")
    @TableField(value = "IS_LUNAR")
    private String isLunar;

    @ApiModelProperty(value = "工作电话")
    @TableField(value = "TEL_NO_DEPT")
    private String telNoDept;

    @ApiModelProperty(value = "工作传真")
    @TableField(value = "FAX_NO_DEPT")
    private String faxNoDept;

    @ApiModelProperty(value = "家庭住址")
    @TableField(value = "ADD_HOME")
    private String addHome;

    @ApiModelProperty(value = "家庭邮编")
    @TableField(value = "POST_NO_HOME")
    private String postNoHome;

    @ApiModelProperty(value = "家庭电话")
    @TableField(value = "TEL_NO_HOME")
    private String telNoHome;

    @ApiModelProperty(value = "手机号")
    @TableField(value = "MOBIL_NO")
    private String mobilNo;

    @ApiModelProperty(value = "主题颜色")
    @TableField(value = "BP_NO")
    private String bpNo;

    @ApiModelProperty(value = "QQ号码")
    @TableField(value = "OICQ_NO")
    private String oicqNo;

    @ApiModelProperty(value = "ICQ_NO")
    @TableField(value = "ICQ_NO")
    private String icqNo;

    @ApiModelProperty(value = "MSN号码")
    @TableField(value = "MSN")
    private String msn;

    @ApiModelProperty(value = "AVATAR")
    @TableField(value = "AVATAR")
    private String avatar;

    @ApiModelProperty(value = "短信提示音")
    @TableField(value = "CALL_SOUND")
    private String callSound;

    @ApiModelProperty(value = "上次访问系统的时间")
    @TableField(value = "LAST_VISIT_TIME")
    private String lastVisitTime;

    @ApiModelProperty(value = "生日")
    @TableField(value = "MENU_TYPE")
    private String menuType;

    @ApiModelProperty(value = "上次修改密码时间")
    @TableField(value = "LAST_PASS_TIME")
    private Date lastPassTime;

    @ApiModelProperty(value = "界面主题")
    @TableField(value = "THEME")
    private Integer theme;

    @ApiModelProperty(value = "快捷菜单ID串")
    @TableField(value = "SHORTCUT")
    private String shortcut;

    @ApiModelProperty(value = "PORTAL")
    @TableField(value = "PORTAL")
    private String portal;

    @ApiModelProperty(value = "登录后显示的左侧面板(1-导航,2-组织,3-短信,4-搜索)")
    @TableField(value = "PANEL")
    private String panel;

    @ApiModelProperty(value = "在线时长")
    @TableField(value = "ONLINE")
    private Integer online;

    @ApiModelProperty(value = "记录在线状态(1-联机,2-忙碌,3-离开)")
    @TableField(value = "ON_STATUS")
    private Integer onStatus;

    @ApiModelProperty(value = "岗位状态(1-出差,2-请假,3-外出)")
    @TableField(value = "ATTEND_STATUS")
    private String attendStatus;

    @ApiModelProperty(value = "手机号码是否公开(0-公开,1-不公开)")
    @TableField(value = "MOBIL_NO_HIDDEN")
    private String mobilNoHidden;

    @ApiModelProperty(value = "左侧的桌面模块")
    @TableField(value = "MYTABLE_LEFT")
    private String mytableLeft;

    @ApiModelProperty(value = "右侧的桌面模块")
    @TableField(value = "MYTABLE_RIGHT")
    private String mytableRight;

    @ApiModelProperty(value = "辅助角色编码串")
    @TableField(value = "USER_PRIV_OTHER")
    private String userPrivOther;

    @ApiModelProperty(value = "禁止登录OA系统(1-禁止,0-不禁止)")
    @TableField(value = "NOT_LOGIN")
    private Integer notLogin;

    @ApiModelProperty(value = "禁止查看用户列表(1-禁止,0-不禁止)")
    @TableField(value = "NOT_VIEW_USER")
    private Integer notViewUser;

    @ApiModelProperty(value = "禁止显示桌面(1-禁止,0-不禁止)")
    @TableField(value = "NOT_VIEW_TABLE")
    private Integer notViewTable;

    @ApiModelProperty(value = "禁止OA搜索(1-禁止,0-不禁止)")
    @TableField(value = "NOT_SEARCH")
    private Integer notSearch;

    @ApiModelProperty(value = "桌面背景图片")
    @TableField(value = "BKGROUND")
    private String bkground;

    @ApiModelProperty(value = "绑定IP地址")
    @TableField(value = "BIND_IP")
    private String bindIp;

    @ApiModelProperty(value = "LAST_VISIT_IP")
    @TableField(value = "LAST_VISIT_IP")
    private String lastVisitIp;

    @ApiModelProperty(value = "MENU_IMAGE")
    @TableField(value = "MENU_IMAGE")
    private String menuImage;

    @ApiModelProperty(value = "WEATHER_CITY")
    @TableField(value = "WEATHER_CITY")
    private String weatherCity;

    @ApiModelProperty(value = "辅助角色编码串")
    @TableField(value = "SHOW_RSS")
    private String showRss;

    @ApiModelProperty(value = "辅助角色编码串")
    @TableField(value = "MY_RSS")
    private String myRss;

    @ApiModelProperty(value = "备注")
    @TableField(value = "REMARK")
    private String remark;

    @ApiModelProperty(value = "默认展开菜单")
    @TableField(value = "MENU_EXPAND")
    private String menuExpand;

    @ApiModelProperty(value = "个性签名")
    @TableField(value = "MY_STATUS")
    private String myStatus;

    @ApiModelProperty(value = "登录次数限制")
    @TableField(value = "LIMIT_LOGIN")
    private String limitLogin;

    @ApiModelProperty(value = "默认展开菜单")
    @TableField(value = "PHOTO")
    private String photo;

    @ApiModelProperty(value = "即时通讯使用权限(1-允许使用,2-禁止使用)")
    @TableField(value = "IM_RANGE")
    private Integer imRange;

    @ApiModelProperty(value = "早退时间")
    @TableField(value = "LEAVE_TIME")
    private Date leaveTime;

    @ApiModelProperty(value = "邮件密级类型(1-非涉密,2-秘密[一般],3-机密[重要],4-绝密[非常重要])")
    @TableField(value = "SECRET_LEVEL")
    private Integer secretLevel;

    @ApiModelProperty(value = "用户参数")
    @TableField(value = "USER_PARA")
    private String userPara;

    @ApiModelProperty(value = "禁止登录OA系统手机客户端(1-禁止,0-不禁止)")
    @TableField(value = "NOT_MOBILE_LOGIN")
    private Integer notMobileLogin;

    @ApiModelProperty(value = "用户管理的模块")
    @TableField(value = "MANAGE_MODULE_TYPE")
    private String manageModuleType;

    @ApiModelProperty(value = "用户角色类型")
    @TableField(value = "USER_PRIV_TYPE")
    private Integer userPrivType;

    @ApiModelProperty(value = "用户管理的分支机构ID串")
    @TableField(value = "USER_MANAGE_ORGS")
    private String userManageOrgs;

    @ApiModelProperty(value = "身份证号")
    @TableField(value = "ID_NUMBER")
    private String idNumber;

    @ApiModelProperty(value = "")
    @TableField(value = "TRA_NUMBER")
    private String traNumber;

    @ApiModelProperty(value = "学科")
    @TableField(value = "SUBJECT")
    private String subject;

    @ApiModelProperty(value = "岗位")
    @TableField(value = "POST")
    private String post;

    @ApiModelProperty(value = "128头像")
    @TableField(value = "AVATAR_128")
    private String avatar128;

    @ApiModelProperty(value = "职务ID 对应user_post表")
    @TableField(value = "POST_ID")
    private Integer postId;

    @ApiModelProperty(value = "岗位ID 对应user_job表")
    @TableField(value = "JOB_ID")
    private Integer jobId;

    @ApiModelProperty(value = "房间号")
    @TableField(value = "ROOM_NUM")
    private String roomNum;

    @ApiModelProperty(value = "一级部门")
    @TableField(value = "DEPT_YJ")
    private String deptYj;

    @ApiModelProperty(value = "中间的桌面模块")
    @TableField(value = "MYTABLE_MID")
    private String mytableMid;

    @ApiModelProperty(value = "用户签名ID")
    @TableField(value = "SIGN_IMAGE_ID")
    private String signImageId;

    @ApiModelProperty(value = "用户签名")
    @TableField(value = "SIGN_IMAGE_NAME")
    private String signImageName;
}
